package cn.ecut.dzy.dao;


import cn.ecut.dzy.pojo.Order;

import java.util.List;

public interface OrderDao {

    public int saveOrder(Order order);


    public List<Order> queryOrders();

    public int changeOrderStatus(Order order,String status);

    public List<Order> queryOrdersByUserId(String userId);

    void updateStatus(String orderId, Integer orderStatus);
}
